import request from "@/utils/request";

// 查询项目公告列表
export function getProjectList(data) {
  return request({
    url: `/common/project/list`,
    headers: {
      isToken: false,
    },
    method: "get",
    params: data,
  });
}

//查询项目详情
export function getProjectInfo(data) {
  return request({
    url: `/common/project/getProjectInfo/${data.noticeId}`,
    method: "get",
  });
}
//查询项目信息--查询出项目供应商需要上传的文件
export function getNoticeInfo(id) {
  return request({
    url: `/sp/project/projectPushFile/${id}`,
    method: "get",
  });
}
